package org.jeecg.modules.htxincailiao.shop.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.jeecg.modules.htxincailiao.enterprise.domain.vo.HTEnterpriseVO;
import org.jeecg.modules.htxincailiao.shop.entity.HTShop;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: ht_shop
 * @Author: jeecg-boot
 * @Date:   2021-12-10 03:26:26
 * @Version: V1.0
 */
public interface HTShopMapper extends BaseMapper<HTShop> {

    @Select("<script>" +"SELECT * FROM ht_shop WHERE name=#{shopName}" + "</script>")
     HTShop queryByShopName(@Param("shopName") String shopName);

    @Select("<script>" +"SELECT * FROM ht_shop WHERE seller_id=#{sellerId}" + "</script>")
    HTShop queryBySellerId(@Param("sellerId")  String sellerId);
}
